﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Common;
using _1Dot9MasterTransactions;
using _1Dot9MasterDac;

namespace _1Dot9MasterBiz
{

    public class BoardBiz : MasterBizBase
    {
        #region transaction sample
        //insert
        [Transaction(TransactionOption.Suppress)]
        public int SetBoardNew(Hashtable htParams)
        {
            using (BoradDac aDac = new BoradDac())
            {
                return aDac.BoradInsert(htParams);
            }
        }
        #endregion

        #region

        [Transaction(TransactionOption.Suppress)]
        public DataSet GetBoardList(Hashtable htParams)
        {
            using (BoradDac adminDac = new BoradDac())
            {
                return adminDac.BoardSelect(htParams);
            }
        }
        #endregion
    }
}
